﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 报废工单
    /// </summary>
    [Table("T_ScrappedWork")]
    public class ScrappedWork:BaseEntity
    {
        [StringLength(30)]
        public string ScrappedWorkOrder {  get; set; }//报废工单
        [StringLength(30)]

        public string EquipmentName {  get; set; }//物料名称
        [StringLength(30)]
        public string EquipmentCode { get; set; }//物料编号
        [StringLength(30)]
        public string EquipmentBatchNo {  get; set; }//物料批次
        public int EquipmentCount { get; set; }//数量
        [StringLength(30)]

        public string WarrantyExplanation {  get; set; }//报废说明
        [StringLength(30)]
        public string Applicant {  get; set; }//申请人
        public DateTime ApplicantDate {  get; set; }//申请时间
        [StringLength(30)]
        public string Approver { get; set; }//审批人

        public DateTime ApproverDate { get; set; }//审批时间
        [StringLength(30)]
        public string Handler {  get; set; }//处理人
        public DateTime HandlerDate {  get; set; }//处理时间
        [StringLength(30)]
        public string HandlerExplanation {  get; set; }//处理说明
        /// <summary>
        /// 1.申请人2.审批人3.处理人
        /// </summary>
        public int? Operation { get; set; }//操作

    }
}
